package com.example.model.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 物资
 */
@Data
@TableName("materials_loss_")
@AllArgsConstructor
@NoArgsConstructor
public class MaterialsLoss implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @TableId(value = "my_id_", type = IdType.ASSIGN_ID)
    private String myId;

    /**
     * 物资ID
     */
    @TableField("materials_id_")
    private String materialsId;

    /**
     * 物品名
     */
    @TableField("materials_name_")
    private String materialsName;


    /**
     * 生产厂家
     */
    @TableField("manufacturer_")
    private String manufacturer;

    /**
     * 单价
     */
    @TableField("price_")
    private Double price;

    /**
     * 报损数量
     */
    @TableField("amount_")
    private Integer amount;

    /**
     * 负责人
     */
    @TableField("principal_")
    private String principal;

    /**
     * 报损金额
     */
    @TableField("money_")
    private Double money;

    /**
     * 操作员
     */
    @TableField("operator_")
    private String operator;

    /**
     * 报损原因
     */
    @TableField("remark_")
    private String remark;

}
